<?php
namespace app\index\model;

use think\Model;

class ChinaCity extends Model {
     public static function   cityShengInfo(){
         $sheng=ChinaCity::where('tid','=',0)->select()->toArray();
         return $sheng;
     }
      public static function   cityCitysInfo($sheng){
         $city=ChinaCity::where('tid','=',$sheng)->select()->toArray();
            return $city;
      }
       public static function   cityQuyuInfo($city){
           $quyu=ChinaCity::where('tid','=',$city)->select()->toArray();
           return $quyu;
       }
}